package com.jxin.mall.member.domain.consts;

import lombok.AllArgsConstructor;
import lombok.ToString;

/**
 * MemberUser 字段的枚举类
 * @author 蔡佳新
 * @version 1.0
 * @since jdk 1.8
 */

@AllArgsConstructor
@ToString
public enum MemberUserFileEnum {
    /**账号字段*/
    USERNAME("username", 0),
    /**手机号码字段*/
    PHONE("phone", 1),
    /**邮箱字段*/
    EMAIL("email", 2);
    /**字段名*/
    private String name;
    /**字段类型*/
    private Integer type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

}
